#include <stdio.h>

void print_num(int x)
{
	int a,b;
	a = x%10;
	b = x%100/10;
	printf("ten is %d, bit is %d.\n",b,a);
}
int main(void)
{
	int num;
	printf("Please enter an integar:");
	scanf("%d",&num);
	print_num(num);
	return 0;
}
